It is possible to check more than one text box on a Web Form with one button, using the RapidSpellWebMultiple control.
Page containing the RapidSpellWebLauncher and RapidSpellWebMultiple controls
<%@ Page language="c#" AutoEventWireup="false" %> <%@ Register TagPrefix="rapidspellweb" Namespace="Keyoti.RapidSpell" Assembly="Keyoti.RapidSpellWeb" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <HTML> <body MS_POSITIONING="GridLayout"> <form id="MultipleTextBoxes" method="post" runat="server"> <asp:TextBox id="TextBox1" style="Z-INDEX: 100; LEFT: 21px; POSITION: absolute; TOP: 65px" runat="server" TextMode="MultiLine" Width="404px" Height="127px" Columns="40" Rows="4">This example demenstrates</asp:TextBox> <asp:Label id="Label1" style="Z-INDEX: 109; LEFT: 21px; POSITION: absolute; TOP: 31px" runat="server" Font-Names="Arial">Multiple text box checking with one button</asp:Label> <asp:TextBox id="TextBox2" style="Z-INDEX: 101; LEFT: 21px; POSITION: absolute; TOP: 201px" runat="server" TextMode="MultiLine" Width="404px" Height="127px" Columns="40" Rows="4">multiple textbox checking</asp:TextBox> <asp:TextBox id="TextBox3" style="Z-INDEX: 103; LEFT: 21px; POSITION: absolute; TOP: 335px" runat="server" Width="259px" Columns="40">Any combination of text boexs on a form</asp:TextBox> <rapidspellweb:RapidSpellWebLauncher id="RapidSpellWebLauncher2" style="Z-INDEX: 104; LEFT: 435px; POSITION: absolute; TOP: 213px" runat="server" TextComponentName="TextBox2" RapidSpellWebPage="PopUp.aspx" CreatePopUpWindow="False" PopUpWindowName="RapidSpellWebMultiple1_PopUpWin" ShowFinishedMessage="False" ShowNoErrorsMessage="False" FinishedListener="RapidSpellWebMultiple1_NotifyDone" ShowButton="False" RSMultipleID="RapidSpellWebMultiple1"> </rapidspellweb:RapidSpellWebLauncher> <rapidspellweb:RapidSpellWebLauncher id="RapidSpellWebLauncher3" style="Z-INDEX: 105; LEFT: 294px; POSITION: absolute; TOP: 339px" runat="server" TextComponentName="TextBox3" RapidSpellWebPage="PopUp.aspx" CreatePopUpWindow="False" PopUpWindowName="RapidSpellWebMultiple1_PopUpWin" ShowFinishedMessage="False" ShowNoErrorsMessage="False" FinishedListener="RapidSpellWebMultiple1_NotifyDone" ShowButton="False" RSMultipleID="RapidSpellWebMultiple1"> </rapidspellweb:RapidSpellWebLauncher> <rapidspellweb:RapidSpellWebLauncher id="RapidSpellWebLauncher1" style="Z-INDEX: 107; LEFT: 438px; POSITION: absolute; TOP: 75px" runat="server" TextComponentName="TextBox1" RapidSpellWebPage="PopUp.aspx" CreatePopUpWindow="False" PopUpWindowName="RapidSpellWebMultiple1_PopUpWin" ShowFinishedMessage="False" ShowNoErrorsMessage="False" FinishedListener="RapidSpellWebMultiple1_NotifyDone" ShowButton="False" RSMultipleID="RapidSpellWebMultiple1"> </rapidspellweb:RapidSpellWebLauncher> <rapidspellweb:RapidSpellWebMultiple id="RapidSpellWebMultiple1" style="Z-INDEX: 106; LEFT: 21px; POSITION: absolute; TOP: 369px" runat="server" RapidSpellWebLaunchers="RapidSpellWebLauncher1,RapidSpellWebLauncher2,RapidSpellWebLauncher3"> </rapidspellweb:RapidSpellWebMultiple> </form> </body> </HTML>
This code functions by hiding the buttons usually displayed by the RapidSpellWebLauncher control. The RapidSpellWebMultiple control is used to link all the RapidSpellWebLauncher/RapidSpellWInline controls, it renders as a button (or image) on the page and controls the firing of the hidden RapidSpellWebLauncher/RapidSpellWInline controls. The RapidSpellWebLaunchers property in RapidSpellWebMultiple is set to the IDs of the RapidSpellWebLauncher/RapidSpellWInline controls, comma delimited.